package com.xhsj.user.cram.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Author: liuqinghua
 * @Description:
 * @Data:2021/4/20
 */
@Data
public class BaseParamDto {
    private int page = 1;

    private int size = 20;

    private Long createBy;

    /**
     * 进入时间
     */
    @JsonFormat(timezone = "GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date entryTime;

    /**
     * 出去时间
     */
    @JsonFormat(timezone = "GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date outTime;

    private Long id;
}
